package com.itcast.pojo;

import java.io.Serializable;

public class User implements Serializable {
    /**
     *
     */
    private String userId;

    /**
     *
     */
    private String userName;

    /**
     *
     */
    private String userPassword;

    /**
     *
     */
    private String userImage;
    /**
     *
     */
    private String userCity;
    /**
     *
     */
    private String userTel;
    /**
     *
     */
    private String userGender;
     /**
     *
     */
    private String userEmail;
/**
 * 序列化ID，相当于身份认证，主要用于程序的版本控制，保持不同版本的兼容性，在程序版本升级时避免程序报出版本不一致的错误。
 */
    private static final long serialVersionUID = 1L;

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public User(String userId, String userName, String userPassword, String userImage) {
        this.userId = userId;
        this.userName = userName;
        this.userPassword = userPassword;
        this.userImage = userImage;
    }

    public User(String userName, String userEmail, String userCity, String userTel, String userGender) {
        this.userName = userName;
        this.userImage = userEmail;
        this.userCity = userCity;
        this.userTel = userTel;
        this.userGender = userGender;
    }

    public User() {
    }

    public String getUserCity() {
        return userCity;
    }

    public void setUserCity(String userCity) {
        this.userCity = userCity;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

    public String getUserGender() {
        return userGender;
    }

    public void setUserGender(String userGender) {
        this.userGender = userGender;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserImage() {
        return userImage;
    }

    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }
}

